package com.itheima.dao;

import com.itheima.pojo.Permission;

import java.util.List;
import java.util.Set;

/**
 * @create 2020/11/28 0028 9:47
 */
public interface PermissionDao {
    Set<Permission> findByRoleId(Integer roleId);

    void add(Permission permission);

    void deleteById(Integer id);

    void deletePermissionById(int id);

    void edit(Permission permission);

    Permission findById(Integer id);

    List<Permission> findAll();

    List<Permission> selectByCondition(String queryString);
    
}
